package com.vhall.component.entity.room.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.entity.subject.enums.StatusEnum;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author shimingming
 * @since 2023/5/26 11:55
 */
@Data
@AllArgsConstructor
public class RoomOperationStatusVO {

    /**
     * 房间id
     */
    @NotBlank(message = "房间id不能为空！")
    @ParamName("room_id")
    @JsonProperty("room_id")
    private String roomId;


    /**
     * 标记位
     * 0 关
     * 1 开
     * <p>
     * {@link StatusEnum}
     */
    @NotNull(message = "标记位不能为空！")
    @JsonProperty("status")
    @ParamName("status")
    private Integer status;


}
